package ltd.dujiabao.dex.core.registrar;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Import;

/**
 * @author : DuJiabao
 * @Project : common-delay-executor
 * @Time : 2024/3/25 20:10
 * @Desc :
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(DelayJobBeanDefinitionRegistrar.class)
public @interface EnableDelayJob {

    String[] basePackages() default {};

    Class<?>[] basePackageClasses() default {};
}
